package com.atlc.preview.project.model;

/**
 * @author 梁冲
 * @version 1.0
 * @email 1357042069@qq.com
 * @date 2021/12/21
 */
public class Status {

    private String answer;

    private String status;

    private int score;

    private int time;

    public Status(String status) {
        this.status = status;
        this.score = -1;
    }

    public String getAnswer() {
        if (answer == null) {
            return "";
        }
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }
}
